package com.teacherprofile.common.constant;

public interface MqConstants {
    interface Exchange {
        /*软著交换机*/
        /*异常信息的交换机*/
        String ERROR_EXCHANGE = "error.topic";
        String SOFTWARE_COPYWRITE_EXCHANGE = "software_copywrite.topic";
    }

    interface Queue {
        String ERROR_QUEUE_TEMPLATE = "error.{}.queue";
        String SOFTWARE_COPYWRITE_QUEUE_TEMPLATE = "software_copywrite.{}.queue";
        String SOFTWARE_COPYWRITE_PASS_QUEUE = "software_copywrite.pass.queue";
    }

    interface Key {
        String SOFTWARE_COPYWRITE_PASS_KEY = "software_copywrite.pass";
        String ERROR_KEY_PREFIX = "error.";
        String DEFAULT_ERROR_KEY = "error.#";

    }
}
